home *** CD-ROM | disk | FTP | other *** search
/ Complete Linux / Complete Linux.iso / docs / apps / database / postgres / postgre1.z / postgre1 / video / VIDEO-README < prev    next >
Encoding:
Text File  |  1992-08-27  |  1.7 KB  |  61 lines

  1.  
  2.               The Postgres SIGMOD Video Demo
  3.  
  4. 1.  What is it?
  5.  
  6. These scripts are the query scripts used in the 1991 Postgres demo video
  7. shown at the SIGMOD conference in Denver, Colorado.  This demo includes
  8. queries featuring
  9.  
  10. o  Standard relational access...................Scripts 1-4
  11. o  User-defined functions and ADT's.............5-7
  12. o  Spatial queries and spatial indices..........8-10
  13. o  The Postgres instance-level rule system......11-12 
  14. o  The Postgres view system.....................13-19
  15. o  The Postgres class versioning system.........20-28
  16. o  Postgres query language functions............29-35
  17.  
  18. Views, versions, and query language functions are implemented using
  19. Postgres query rewrite rules.
  20.  
  21. 2.  Populating the Video Demo
  22.  
  23. The Postgres Video Demo is in the directory 
  24.  
  25. ~postgres/video
  26.  
  27. Assuming you have a Postmaster running, you should change directory to the
  28. video directory and execute the following commands:
  29.  
  30. % createdb video
  31. % monitor video
  32.  
  33. This will put you in the Postgres Terminal Monitor.  Once you are there,
  34. execute the command
  35.  
  36. * \i set-up-1.pq
  37.  
  38. which will set up the initial databases, etc.  An R-Tree index is defined
  39. in this step, which may take from five minutes to a half hour to execute,
  40. depending on the speed of your machine.
  41.  
  42. 3.  Running the Video Demo
  43.  
  44. Once the video demo population script completes, you may run the demo
  45. scripts themselves from the monitor with the following command:
  46.  
  47. * \i script-<nn>
  48.  
  49. This will display the script, and occasionally execute it.  To execute a 
  50. script, type
  51.  
  52. * \g
  53.  
  54. (You will know that a script has executed if you see the message
  55. "Query sent to backend is...")  For on-line help in the Monitor, type
  56.  
  57. * \h
  58.  
  59. and for more info on the Monitor, createdb, destroydb, etc, see the Postgres
  60. Reference Manual.
  61.